package com.ygqh.customs.service.impl;

import com.ygqh.customs.mapper.YgOrderPayLogMapper;
import com.ygqh.customs.po.YgOrderPayLog;
import com.ygqh.customs.service.YgOrderPayLogService;
import lombok.extern.slf4j.Slf4j;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 〈〉
 *
 * @author guohao
 * @date 2019/3/18 16:51
 * @since 1.0.0
 */
@Slf4j
@Service
public class YgOrderPayLogServiceImpl implements YgOrderPayLogService {
    @Autowired
    private YgOrderPayLogMapper ygOrderPayLogMapper;

    @Override
    public List<YgOrderPayLog> findByPaymentCode(String paymentCode) {
        return ygOrderPayLogMapper.selectByPaymentCode(paymentCode);
    }
}
